

class Cat:
    def __init__(self,name):
        self.__name = name#私有属性
    def say(self):
        print("hello,i am %s" %self.__name)
    def __del__(self):
        pass
cat = Cat('xiao han')
cat.say()
# print(cat.name)